import { createRouter, createWebHashHistory } from 'vue-router'
import loginView from '@/views/Login/loginView.vue'
import layoutView from '@/views/Layout/layoutView.vue'

const router = createRouter({
  history: createWebHashHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'layout',
      component: layoutView,
    },
    {
      path: '/login',
      name: 'login',
      component: loginView,
    },
  ],
})

export default router
